Expand description

Math for preserving precision

Structs

Large decimal values, precise to 18 digits

Small decimal values, precise to 18 digits

Little-endian large integer type

Little-endian large integer type

Enums

Constants

Scale for bips

Half of identity

Scale for percentages

Scale of precision

Identity

Traits

Try to subtract, return an error on overflow

Try to divide, return an error on overflow or divide by zero

Try to multiply, return an error on overflow

Try to subtract, return an error on underflow